/**
 * <pre>
 * Title: 		DaoFactoryImpl.java
 * Author:		linriqing
 * Create:	 	2010-6-29 下午05:39:12
 * Copyright: 	Copyright (c) 2010
 * Company:		Shenzhen Helper
 * <pre>
 */
package com.hengpeng.itfin.persist.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import com.hengpeng.common.persist.CommonDao;
import com.hengpeng.itfin.persist.AccountDao;
import com.hengpeng.itfin.persist.ActivityDao;
import com.hengpeng.itfin.persist.DaoFactory;
import com.hengpeng.itfin.persist.EmailLogDao;
import com.hengpeng.itfin.persist.OperateLogDao;
import com.hengpeng.itfin.persist.RebateDao;
import com.hengpeng.itfin.persist.RedPacketDao;
import com.hengpeng.itfin.persist.RewardDao;
import com.hengpeng.itfin.persist.SmsLogDao;
import com.hengpeng.itfin.persist.SmsPartnerDao;
import com.hengpeng.itfin.persist.StaticJDBCDao;
import com.hengpeng.itfin.persist.SystemJobDao;
import com.hengpeng.itfin.persist.TransferDao;
import com.hengpeng.itfin.persist.UserInfoDao;
import com.hengpeng.itfin.persist.UserReferDao;
import com.hengpeng.itfin.persist.VerifyCodeDao;

/**
 * <pre>
 * DAO接口工厂实现
 * </pre>
 * 
 * @author linriqing
 * @version 1.0, 2010-6-29
 */
@Repository
public class DaoFactoryImpl implements DaoFactory {

    @Autowired
    private CommonDao commonDao;

    @Autowired
    private EmailLogDao emailLogDao;

    @Autowired
    private OperateLogDao operateLogDao;

    @Autowired
    private SmsLogDao smsLogDao;

    @Autowired
    private SmsPartnerDao smsPartnerDao;

    @Autowired
    private SystemJobDao systemJobDao;

    @Autowired
    private UserInfoDao userInfoDao;

    @Autowired
    private VerifyCodeDao verifyCodeDao;

    @Autowired
    private StaticJDBCDao staticJDBCDao;

    @Autowired
    private TransferDao transferDao;

    @Autowired
    private UserReferDao userReferDao;

    @Autowired
    private ActivityDao activityDao;

    @Autowired
    private RedPacketDao redPacketDao;

    @Autowired
    private RebateDao rebateDao;

    @Autowired
    private AccountDao accountDao;

    @Autowired
    private RewardDao rewardDao;

    @Override
    public RewardDao getRewardDao() {
        return rewardDao;
    }

    @Override
    public UserReferDao getUserReferDao() {
        return userReferDao;
    }

    @Override
    public ActivityDao getActivityDao() {
        return activityDao;
    }

    @Override
    public RedPacketDao getRedPacketDao() {
        return redPacketDao;
    }

    @Override
    public RebateDao getRebateDao() {
        return rebateDao;
    }

    @Override
    public AccountDao getAccountDao() {
        return accountDao;
    }

    @Override
    public TransferDao getTransferDao() {
        return transferDao;
    }

    @Override
    public StaticJDBCDao getStaticJDBCDao() {
        return staticJDBCDao;
    }

    @Autowired
    public VerifyCodeDao getVerifyCodeDao() {
        return verifyCodeDao;
    }

    public CommonDao getCommonDao() {
        return commonDao;
    }

    @Override
    public EmailLogDao getEmailLogDao() {
        return emailLogDao;
    }

    public OperateLogDao getOperateLogDao() {
        return operateLogDao;
    }

    @Override
    public SmsLogDao getSmsLogDao() {
        return smsLogDao;
    }

    public SmsPartnerDao getSmsPartnerDao() {
        return smsPartnerDao;
    }

    @Override
    public SystemJobDao getSystemJobDao() {
        return systemJobDao;
    }

    public void setCommonDao(CommonDao masterCommonDao) {
        this.commonDao = masterCommonDao;
    }

    public void setOperateLogDao(OperateLogDao operateLogDao) {
        this.operateLogDao = operateLogDao;
    }

    @Override
    public UserInfoDao getUserInfoDao() {
        return userInfoDao;
    }

}
